Mistral: Ministral 3B
models/Ministral 3BOverview
Create api keyCurrency$USD
Input$0.04
Output$0.04
Context window131.1K
Generate API Key Generate your API Key to securely access IndoxHub's AI models. Integrate with OpenAI-compatible tools, run queries, and build powerful AI applications — all with a single secure key.
Endpoint
POST
https://api.indoxhub.com/api/v1/chat/completionsConfigmistral/ministral-3b-latest
from indoxhub import Client
# Initialize the client
with Client(api_key="[LOGIN TO GET API KEY]") as client:
# Generate a chat completion
response = client.chat(
messages=[{"role":"system","content":"You are a helpful assistant."},{"role":"user","content":"What is machine learning and why is it important?"}],
model="mistral/ministral-3b-latest",
temperature:"0.7"
)
# Print the response
print(response["data"])